package com.cndongtai.dao.inter;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.cndongtai.po.TorchnAppUserInfo;

public interface TorchnAppUserInfoMapper {
	
	public int addTorchnAppUserInfo(TorchnAppUserInfo userInfo);
	
	public int activedTorchnAppUser(String userName);
	
	public int modifyTorchnAppUserPassword(@Param("userId") String userId, @Param("password") String password);
	
	public int modifyNickname(TorchnAppUserInfo userInfo);
	
	public int modifyHeaderImage(TorchnAppUserInfo userInfo);
	
	public List<TorchnAppUserInfo> queryTorchnAppUserInfoList(TorchnAppUserInfo userInfo);
	
	public TorchnAppUserInfo queryTorchnAppUserInfoByEmail(String email);
	
	public TorchnAppUserInfo queryTorchnAppUserInfoById(Long userId);
	
	public String queryAgreement(Integer type);
	
}
